export type StatusModel = "待付款" | "待发货" | "待收货" | "已完成";

// 单个订单商品的数据模型
export interface OrderItemModel {
  skuId: number;
  name: string;
  price: number;
  skuNum: number;
  skuImage: string;
  originalPrice: number;
  discountAmount: number;
  totalPrice: number;
  status: StatusModel;
}

// 订单商品列表数据模型
export type OrderItemListModel = OrderItemModel[];

// 单个订单对象信息
export interface OrderInfoModel {
  id: number;
  orderNo: string;
  createTime: string;
  receiverName: string;
  receiverPhone: number;
  receiverAddress: string;
  orderItems: OrderItemListModel;
}

// 订单列表数据模型
export type OrderInfoListModel = OrderInfoModel[];
